package com.zbj.consul.provider;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Foo
 *
 * @author weigang
 * @create 2019-08-11
 **/
@ConfigurationProperties(prefix = "foo")
@Component
public class Foo {
    private String bar;

    public String getBar() {
        return bar;
    }

    public void setBar(String bar) {
        this.bar = bar;
    }
}